test: queue.o stack.o ulist.o test.cpp
	g++ test.cpp queue.o stack.o ulist.o -g -o test

stack.o: stack.cpp
	g++ -g -c stack.cpp

queue.o: queue.cpp
	g++ -g -c queue.cpp

ulist.o: ulist.cpp
	g++ -g -c ulist.cpp

clean:
	rm *.o
